import request from '@/util/request';

export const getPatrolStatic = function(param){
	var url = '/staff/getPatrolStatic';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getPatrolStatusList = function(param){
	var url = '/staff/getPatrolStatusList';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getPatrolList = function(param){
	var url = '/staff/getPatrolList';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getPatrolDetail = function(param){
	var url = '/staff/getPatrolDetail';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const examinePatrol = function(param){
	var url = '/staff/examinePatrol';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const repair = function(param){
	var url = '/staff/repair';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}

export const getRepairType = function(param){
	var url = '/configure/getRepairType';
	return request({
		method: 'post',
		url: url,
		data: param
	});
}